<?php

/**
 * Project: Espolon
 * Licence: BSD License
 * Link: http://espolon.org/
 * Copyright: Nicolas de Bari Embriz Garcia Rojas <nbari at espolon dot org>
 * Author: Nicolas de Bari Embriz Garcia Rojas <nbari at espolon dot org>
 * Version: Beta
 */

if (!defined('SITE_ROOT')) exit('No direct script access allowed');

/**
 * Autoload classes
 */
function __autoload($class_name) {
	require_once 'class.'.$class_name.'.php';
}

$tpl->assign('path', '');
$command_tpl='main.tpl';
/**
 * display module user.tpl
 */
$tpl->assign('command_tpl',"$template/modules/$module/$command_tpl");
/**
 * cargar ya el template principal
 */
$tpl->assign('module_tpl', "modules/$module/$module_tpl");
$tpl->display($template.'/base.tpl');

?>